package src.A_JavaBase;

// 静态内部类
public class Oop04_2 {

    private int id = 10;
    public void out(){
        System.out.println("这是外部类的方法");
    }

    static class Inner{
        public void in(){
            System.out.println("这是内部类的方法");
        }
    }

    public static void main(String[] args) {
        Inner inner = new Inner();
        inner.in();
    }

}
